import request from '@/utils/request'

/** 获取省市区接口*/
export function getCityList(query) {
  return request({
    url: '/auth/getCityList',
    method: 'get',
    params: query
  })
}

/** 获取省市2级-树结构*/
export function getTwoLevelCityList(query) {
  return request({
    url: '/auth/getTwoLevelCityList',
    method: 'get',
    params: query
  })
}

/** 获取电话验证码接口*/
export function getVerCode(phone, type, isVoice) {
  return request({
    url: '/auth/binding_code/' + phone + '/' + type + '/' + isVoice,
    method: 'post'
  })
}

/** 获取电话验证码接口*/
export function getShipList() {
  return request({
    url: '/auth/getExpressList',
    method: 'post'
  })
}

